package edu.njfu.networkdemo.service

import edu.njfu.networkdemo.model.ResultVO
import retrofit2.Call
import retrofit2.http.Body
import retrofit2.http.Header
import retrofit2.http.Headers
import retrofit2.http.POST

interface UserService{
    @Headers("Content-Type:application/json","Accept: application/json")
    @POST("/userLogin")
    fun checkLogin(@Body data:String): Call<ResultVO>;
}